package com.bang.itstack.day07.channel;

import com.bang.itstack.day07.mode.IPayMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.math.BigDecimal;

/**
 * @ClassName: Pay
 * @Desc: TODO
 * @author: <Bang>
 * @Date: 2021/10/21 19:59
 * @Version: 1.0
 * @Modified By:
 */
public abstract class Pay {

    protected Logger logger = LoggerFactory.getLogger(Pay.class);

    protected IPayMode payMode;

    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }

    public abstract String transfer(String uId, String tradeId, BigDecimal amount);


}
